﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Areas/Website/Views/Shared/Master.Master"
    Inherits="System.Web.Mvc.ViewPage<NewsViewModel>" %>

<asp:Content ID="Content1" ContentPlaceHolderID="MainContent" runat="server">
    <h1>
        <%= Model.NewsInfo.Title %>
    </h1>
    <div class="news_author">
        <span>Add DateTime:</span>
        <%= Model.NewsInfo.WriteTime %>
        <span>Author:</span>
        <%= Model.NewsInfo.Author %>
        <span>Click:</span>
        <%= Model.NewsInfo.Hits %>
    </div>
    <div class="news_contents">
        <%= Model.NewsInfo.Contents %>
    </div>
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="head" runat="server">
    <%= HtmlMetaHelper.HtmlTitle(Model.NewsInfo.Title,Model.NewsInfo.Keywords,Model.NewsInfo.Description) %>
</asp:Content>
<asp:Content ID="Content3" ContentPlaceHolderID="cssLink" runat="server">
</asp:Content>
<asp:Content ID="Content4" ContentPlaceHolderID="jsLink" runat="server">
</asp:Content>
<asp:Content ID="Content5" ContentPlaceHolderID="cssContent" runat="server">
    <style type="text/css">
        .news_contents
        {
            padding: 10px;
            margin: 5px 0;
        }
        .news_author
        {
            color: #000;
        }
        .news_author span
        {
            color: #999;
            margin: 0 5px;
        }
    </style>
</asp:Content>
<asp:Content ID="Content6" ContentPlaceHolderID="jsContent" runat="server">
</asp:Content>
